ENT.Type = "anim"
ENT.Base = "base_anim"

function ENT:OnRemove()
end

function ENT:PhysicsUpdate()
end

function ENT:PhysicsCollide(data,phys)
end

local tiltLimit = math.sin(math.pi / 4)
function ENT:IsBlocked(ignore)
	local up = self:GetUp()
	if up.z < tiltLimit then
		return true, self
	end
	
	local t = {}
	t.start = self:GetPos()
	t.endpos = t.start + self:GetUp() * 72
	t.filter = {self, unpack(ignore)}
	t.mins = self:OBBMins() * 0.95
	t.maxs = self:OBBMaxs() * 0.95
	local tr = util.TraceHull(t)
	return tr.Hit, tr.Entity
end